import { WeaTools } from 'ecCom';

//高级搜索 condition
export const getSearchCondition = params => {
	return WeaTools.callApi('/api/cpt/capitalsearch/condition', 'GET', params);
}

//资产组树
export const getSearchTree = params => {
	return WeaTools.callApi('/api/cpt/capitalsearch/treeNode', 'GET', params);
}

//右键
export const getSearchRightMenu = params => {
	return WeaTools.callApi('/api/cpt/capitalsearch/rightMenu', 'GET', params);
}

//列表
export const getSearchList = params => {
	return WeaTools.callApi('/api/cpt/capitalsearch/list', 'GET', params);
}